package com.lc.user.express.httpserver;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2016/4/14.确认付款
 */
@HttpInlet(Net.GET_ORDER_PAY)
public class GetOrderPay extends ZJDBAsyGet<Object> {
    public String userid;
    public String orderid;

    public GetOrderPay(String userid,String orderid,AsyCallBack listener) {
        super(listener);
        this.userid = userid;
        this.orderid = orderid;
    }

    @Override
    protected Object parser(JSONObject object) {
        if (object.optInt("message") == 1) {

            return "1";
        }else {
        }
        return null;
    }
}
